using zero product property to solve